-
-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[dotnet] Add nullability annotations to devtools domains #15143
[dotnet] Add nullability annotations to devtools domains #15143
Conversation
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
Failures are not related to changes in this PR: //java/test/org/openqa/selenium/mobile:NetworkConnectionTest
//java/test/org/openqa/selenium/remote:RemoteWebDriverScreenshotTest
//java/test/org/openqa/selenium/remote:RemoteWebDriverScreenshotTest-firefox-beta |
User description
Thanks for contributing to Selenium!
A PR well described will help maintainers to quickly review and merge it
Before submitting your PR, please check our contributing guidelines.
Avoid large PRs, help reviewers by making them as simple and short as possible.
Description
Add nullability annotations to devtools domains, as well as some event args I missed in a previous PR.
Motivation and Context
Contributes to #14640
Types of changes
Checklist
PR Type
Enhancement, Bug fix
Description
Added nullability annotations to multiple DevTools-related classes.
Improved immutability by replacing mutable properties with readonly or auto-properties.
Enhanced exception handling and safety with nullability checks and improved constructors.
Updated enum handling with conditional compilation for .NET 8.0 and above.
Changes walkthrough 📝
9 files
Added nullability annotations and improved constructor handling.
Enabled nullability annotations for extension methods.
Enabled nullability annotations for DevTools options.
Added nullability annotations and improved immutability.
Added nullability annotations and made properties readonly.
Enabled nullability annotations for log message event args.
Added nullability annotations and improved constructor usage.
Enhanced enum handling with nullability and .NET 8.0 support.
Enabled nullability annotations for response paused event args.
4 files
Improved exception handling with constructor-based initialization.
Improved exception handling with constructor-based initialization.
Improved exception handling with constructor-based initialization.
Improved exception handling with constructor-based initialization.